//
//  ViewController.m
//  RunTime避免button连续点击
//
//  Created by yuanjiang on 2017/11/20.
//  Copyright © 2017年 YuanJiang. All rights reserved.
//

#import "ViewController.h"

@interface ViewController ()
@property (weak, nonatomic) IBOutlet UIButton *myButton;

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
    
    [_myButton addTarget:self action:@selector(hhh) forControlEvents:UIControlEventTouchUpInside];
    
}
- (void)hhh
{
    NSLog(@"哈哈  我被人点了");
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


@end
